#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QtGui>
#include <QMainWindow>
#include <QWidget>

#include "canvas.h"
#include "control.h"
#include "winwidget.h"

class MainWindow :  public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QMainWindow *parent = 0);
    ~MainWindow(){}
    void closeEvent(QCloseEvent *e);

public slots:
    void newGame();
    void pauseGame();
    void about();

private:
    QLabel* label;
    Canvas* canvas;
    Control* control;
};

#endif // MAINWINDOW_H
